#pragma once
#include "pch.h"
#include <vector>

class class_strategy_position
{
public:
class_strategy_position(std::string);
~class_strategy_position();

int write();


int insert(int, int, int, char[], int,std::string);
struct struct_return
{
int id,frontid, sessionid, tradingday,traded;
char orderref[13];
//char name[80];
TThostFtdcInstrumentIDType name;
};
int position;//持仓
double value;//持仓价值
std::vector<struct_return> return_vector;//报单返回值map
std::string dz;//地址
int ints[10];
double dous[10];
};

